package com.tsingteng.cosfun.ui.found;

import com.tsingteng.cosfun.bean.MessageReportBean;
import com.tsingteng.cosfun.bean.VideoSignBean;
import com.tsingteng.cosfun.callback.RxObserver;
import com.tsingteng.cosfun.http.RxSchedulers;
import com.tsingteng.cosfun.mvp.module.BaseModel;
import com.tsingteng.cosfun.utils.StringUtils;

import java.util.List;

public class SunModel extends BaseModel implements ISunModel{
    @Override
    public void writeSun(long activityId, String content, String listStr, RxObserver<MessageReportBean> callBack) {
        doRxRequest().writeSunAward(activityId,content,listStr).compose(RxSchedulers.io_main()).subscribe(callBack);
    }

    @Override
    public void getUploadSeven(RxObserver<VideoSignBean> rxObserver) {
        doRxRequest().getSignaTure("6").compose(RxSchedulers.io_main()).subscribe(rxObserver);
    }
}
